package ru.ipccenter.dao;

import java.util.List;

/**
 *
 * @author fedich
 */
public interface DAO {
    /*
     * Search from main page
     */

    public List<FileResult> resultMainExactQuery(String query);//this is temporary

    public List<FileResult> resultMainKeywords(String query);

    public List<FileResult> resultMainRegExp(String query);
    /*
     * Search from adv.music page
     */

    public List<FileResult> resultMusicExactQuery(String query, String title, int year,
            String album, String genre);

    public List<FileResult> resultMusicKeywords(String query, String title, int year,
            String album, String genre);

    public List<FileResult> resultMusicRegExp(String query, String title, int year,
            String album, String genre);
    /*
     * Search from adv.video page
     */

    public List<FileResult> resultVideoExactQuery(String query, String title, int year,
            String genre);

    public List<FileResult> resultVideoKeywords(String query, String title, int year,
            String genre);

    public List<FileResult> resultVideoRegExp(String query, String title, int year,
            String genre);
}
